all:	voca train gpu cpu cpu8
voca:	voca.cpp utf16.h makefile
	g++ voca.cpp -o voca -O3 -Wall -s -static
train:	train.cu makefile config
	/usr/local/cuda-12.2/bin/nvcc train.cu -o train -arch=sm_86 -lcublas -Xptxas -O3 --std=c++11
gpu:	gpu.cu makefile config
	/usr/local/cuda-12.2/bin/nvcc gpu.cu mongoose.c -o gpu -arch=sm_86 -lcublas -Xptxas -O3 --std=c++11 #-DWEIXIN
cpu:	cpu.cpp makefile config
	g++ cpu.cpp -o cpu -Ofast -march=native -static -s
cpu8:	cpu8.cpp makefile config
	g++ cpu8.cpp -o cpu8 -Ofast -march=native -static -s -fopenmp

